'use strict'

module.exports = [
    //启用中间件，内容是中间件的名字
    {
        middleware:async(c,next)=>{
            let startTime = Date.now()
            await next()
            let endTime = Date.now()
            console.log(endTime - startTime,'ms' )
        }
    }
]